package com.frxuexi.lib_base.mvi

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.ViewDataBinding

abstract class BaseViewActivity<VDB:ViewDataBinding>:AppCompatActivity() {

    abstract val  binding:VDB
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(binding.root)
        initView()
    }

    abstract fun initView()
}